home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
PROGRAMMING
/
Raven 1.2 Examples.sit
/
Raven 1.2 Examples
/
Quill
/
Source
/
DisclosureArrowEditor.h
< prev
next >
Wrap
Text File
|
1997-01-22
|
2KB
|
75 lines
/*
* File: DisclosureArrowEditor.h
* Summary: A view that knows how to edit a TDisclosureArrow.
* Written by: Jesse Jones
*
* Copyright ゥ 1996 Jesse Jones.
* For conditions of distribution and use, see copyright notice in ZTypes.h
*
* Change History (most recent first):
*
* <-> 1/22/96 JDJ Created
*/
#pragma once
#include <ZDisclosureArrow.h>
#include "BasePaneEditor.h"
// ===================================================================================
// class CEditDisclosureArrowCommand
// ===================================================================================
class CEditDisclosureArrowCommand : public CBaseEditPaneCommand<TDisclosureArrow, SDisclosureInfo> {
typedef CBaseEditPaneCommand<TDisclosureArrow, SDisclosureInfo> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CEditDisclosureArrowCommand();
CEditDisclosureArrowCommand(TDisclosureArrow* pane, const SDisclosureInfo& oldInfo, const SDisclosureInfo& newInfo);
//-----------------------------------
// Inherited API
//
public:
virtual void UpdatePane(const SDisclosureInfo& newInfo);
};
// ===================================================================================
// CDisclosureArrowEditor
// ===================================================================================
class CDisclosureArrowEditor : public CBasePaneEditor<TDisclosureArrow, SDisclosureInfo, CEditDisclosureArrowCommand> {
typedef CBasePaneEditor<TDisclosureArrow, SDisclosureInfo, CEditDisclosureArrowCommand> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CDisclosureArrowEditor();
CDisclosureArrowEditor(TView* superView);
//-----------------------------------
// Inherited API
//
protected:
virtual SDisclosureInfo GetEditorInfo() const;
virtual void SetEditorInfo(const SDisclosureInfo& info);
//-----------------------------------
// TReanimator Support
//
public:
static MReanimatable* Create(MReanimatable* parent);
};